// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/main.css'

// 导入element-ui
import ElementUi from 'element-ui'
// 指定默认样式
import "element-ui/lib/theme-chalk/index.css"
// 消息总线 跨组件通信
import VueBus from "vue-bus";

Vue.use(VueBus)

Vue.use(ElementUi)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
